import request from '@/utils/request'

// 查询出库管理列表
export function listOutwarehouse(query) {
  return request({
    url: '/warehousemanager/outwarehouse/list',
    method: 'get',
    params: query
  })
}

// 查询出库管理详细
export function getOutwarehouse(outId) {
  return request({
    url: '/warehousemanager/outwarehouse/' + outId,
    method: 'get'
  })
}


// 新增出库管理
export function addOutwarehouse(data) {
  return request({
    url: '/warehousemanager/outwarehouse',
    method: 'post',
    data: data
  })
}

// 修改出库管理
export function updateOutwarehouse(data) {
  return request({
    url: '/warehousemanager/outwarehouse',
    method: 'put',
    data: data
  })
}

// 删除出库管理
export function delOutwarehouse(outId) {
  return request({
    url: '/warehousemanager/outwarehouse/' + outId,
    method: 'delete'
  })
}








